package com.example.jiagoujiexiang.Mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface getLoveDao {
    @Insert("insert into userlove(user_id, query_number) values(#{userId},#{cartId})")
    public int addLoveDao( @Param("userId") int userId,@Param("cartId") int cartId);
}